	<div id="nav">
		当前位置: <a href="?action=default">管理首页</a> <span>&gt;</span> 分类列表
	</div>

	<!--列表-->
<form id="theform" name="theform" action="?action=category&op=setorder" method="post">
<div class="block">
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
	<th style="width: 40%;text-align: center;">分类名称</th>
	<th style="width: 30%;text-align: center;">显示顺序</th>
	<th style="width: 30%;text-align: center;">操作</th>
	</tr>
	<? foreach ($cate as $c){?>
	<tr class="trbgcolor">
		<td style="width: 40%;text-align: left;">
		· <strong class="presubject"><?=$c['cname'] ?></strong>
		</td>
		<td style="width: 20%;text-align: center;"><input type="hidden" name="cid[]" value="<?=$c['cid'] ?>" /><input name="displayorder[]" type="text" size="2" value="<?=$c['displayorder'] ?>" /></td>
		<td class="smalltxt" style="text-align: center;"><a href="?action=category&op=edit&cid=<?=$c['cid'] ?>">编辑</a>&nbsp;<!--a href="" title="点击直接删除！一旦删除操作，数据不可恢复，请谨慎操作！">删除</a--></td>
	</tr>
		<? if ($c['subcate']){?>
			<? foreach($c['subcate'] as $v){?>
	<tr>
		<td style="width: 40%;text-align: left;">
		├─ <strong class="presubject"><?=$v['cname'] ?></strong>
		</td>
		<td style="width: 20%;text-align: center;"><input type="hidden" name="cid[]" value="<?=$v['cid'] ?>" /><input name="displayorder[]" type="text" size="2" value="<?=$v['displayorder'] ?>" /></td>
		<td class="smalltxt" style="text-align: center;"><a href="?action=category&op=edit&cid=<?=$v['cid'] ?>">编辑</a>&nbsp;<!--a href="" title="点击直接删除！一旦删除操作，数据不可恢复，请谨慎操作！">删除</a--></td>
	</tr>
			<? }?>
		<? }?>
	<? }?>
</table>
</div>
	<div class="tbfootaction">
		<button value="true" type="submit" class="submit" name="setordersubmit" title="排序无须钩选">快速排序</button>
	</div>
	</form>
		<!--列表END-->